<script setup>
import { getThis as getThisMountToWindow } from './utils/getThis.js'

onMounted(() => {
  // Vue3中没有this，访问全局变量比较麻烦，手动获取this并挂载到window，页面中可以直接使用window.$this获取Vue实例
  getThisMountToWindow()
})
</script>

<template>
  <router-view></router-view>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
